<?php

class testGet{
	public function test_get()
	{
		echo "Test case 1: Input values 3,4 Expected Result: 7";
		
		$a = 3;
		$b = 4;
		$expected = 7;
		
		$page = new get();
		$actual = $page->get_content($a, $b);
		
		echo "Actual Result: ".$actual;
		
		if ($actual == $expected)
			echo "Test case Passed";
		else 
			echo "Test case Failed";
		
		echo "Test case 2: Input values 4,4 Expected Result: 8";
		
		$a = 3;
		$b = 4;
		$expected = 7;
		
		$page = new get();
		$actual = $page->get_content($a, $b+1);
		
		echo "Actual Result: ".$actual;
		
		if ($actual == $expected)
			echo "Test case Passed";
		else
			echo "Test case Failed";
		
	}
}

$page=new testGet();
$page->test_get();

?>